import { createStore } from 'vuex'
import { mutations } from "./mutations"
import { actions } from "./actions"
import { getters } from './getters'


const state = {
  carList: [],
  categorylist: [],
  recommend: []
}
export default createStore({
  //调用mutations用commit   调用actions用dispatch
  state,
  mutations,
  actions,
  getters,
  modules: {
  }
})
